package com.sky.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.dto.EmployeeDTO;
import com.sky.dto.EmployeeLoginDTO;
import com.sky.dto.EmployeePageQueryDTO;
import com.sky.dto.PasswordEditDTO;
import com.sky.entity.Employee;
import com.sky.result.PageResult;

public interface EmployeeService extends IService<Employee> {
    public Employee login(EmployeeLoginDTO employeeLoginDTO);
    public void addEmployee(EmployeeDTO employeeDTO);
    public PageResult getByPage(EmployeePageQueryDTO employeePageQueryDTO);
    public void updateEmployeeStatus(Integer status,Long id);
    public Employee getEmployeeById(Long id);
    public void updateEmployeeInfo(EmployeeDTO employeeDTO);
    public void modifyEmployeePassword(PasswordEditDTO passwordEditDTO);
}
